package com.wh.cloud.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wh.cloud.user.entity.User;
import com.wh.cloud.user.service.UserService;
import com.wh.cloud.user.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author Lenovo
* @description 针对表【tb_user】的数据库操作Service实现
* @createDate 2025-10-21 11:39:45
*/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User>
    implements UserService{
@Autowired
private UserMapper userMapper;
    @Override
    public User findUserById(Long userId) {
        return userMapper.selectUserById(userId);
    }
}




